home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / next.lha / Geomview.pkg / Geomview.post_install < prev    next >
Text File  |  1993-11-16  |  425b  |  16 lines

  1. #! /bin/sh
  2.  
  3. # Record Geomview.app's installed pathname in a file called
  4. # "geomrootpath" in Geomview.app.  This is so the "install" script can
  5. # access it.
  6. pathfile="$2/Geomview.app/geomrootpath"
  7. if [ -f "$pathfile" ] ; then
  8.   /bin/rm -f $pathfile
  9. fi
  10. echo "$2/Geomview.app" > $pathfile
  11.  
  12. # Repair any damage from the pre_install script
  13. if [ -f $1/Geomview.tar.Z.hide ]; then
  14.     mv $1/Geomview.tar.Z.hide $1/Geomview.tar.Z
  15. fi
  16.